let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n160,
                    i =
                    (this && this.__extends) ||
                    ((_n160 = function n(t, e) {
                            return (_n160 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n160(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        }),
                    r =
                    (this && this.__decorate) ||
                    function(t, e, o, n) {
                        var i,
                            r = arguments.length,
                            a =
                            r < 3 ?
                            e :
                            null === n ?
                            (n = Object.getOwnPropertyDescriptor(e, o)) :
                            n;
                        if (
                            'object' ==
                            (typeof Reflect === 'undefined' ?
                                'undefined' :
                                typeof(Reflect)) &&
                            'function' == typeof Reflect.decorate
                        )
                            a = Reflect.decorate(t, e, o, n);
                        else
                            for (var s = t.length - 1; s >= 0; s--) {
                                (i = t[s]) &&
                                (a = (r < 3 ? i(a) : r > 3 ? i(e, o, a) : i(e, o)) || a);
                            }
                        return r > 3 && a && Object.defineProperty(e, o, a), a;
                    };
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.StageIdleAct = void 0);
                var a = t('AbsAction'),
                    s = t('AbsActor'),
                    c = t('MathUtils'),
                    l = cc._decorator,
                    u = l.ccclass,
                    h =
                    (l.property,
                        (function(t) {
                            function e() {
                                return (null !== t && t.apply(this, arguments)) || this;
                            }
                            return (
                                i(e, t),
                                (e.prototype.init = function() {
                                    this._type = a.ActionType.Block;
                                }),
                                (e.prototype.onStart = function(t) {
                                    return (
                                        void 0 === t && (t = null),
                                        this.setActorState(s.ActorState.Idle),
                                        this.playAnim('stand'),
                                        this.resetTime(),
                                        !0
                                    );
                                }),
                                (e.prototype.resetTime = function() {
                                    this._time = c.default.randomFloat(6, 20);
                                }),
                                (e.prototype.autoPlayAnimHandler = function() {
                                    Math.random() > 0.5 ?
                                        this.playAnim('attack') :
                                        this.playAnim('run'),
                                        this.resetTime();
                                }),
                                (e.prototype.onUpdate = function(t) {
                                    (this._time -= t),
                                    this._time <= 0 && this.autoPlayAnimHandler();
                                }),
                                (e.prototype.animLoopCompleteHandler = function(t) {
                                    'stand' != t.animation.name && this.playAnim('stand');
                                }),
                                r([u('StageIdleAct')], e)
                            );
                        })(a.AbsAction));
                (o.StageIdleAct = h), console.log("end");
            module.exports =  e.exports;